/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package introsemp;

import javax.swing.JFrame;
import javax.swing.UIManager;
/**
 *
 * @author Marit
 */
public class MainFrame extends JFrame{

    public MainFrame() {
        setTitle("LSQC");
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setSize(930, 686);
        setResizable(false);
        setVisible(true);
        
    }
    
    public void faculty() {
        facultyMainMenu fmm = new facultyMainMenu();
        add(fmm);
        fmm.setFrame(this);
        
    }
    
    public void admin() {
        adminMainMenu amm = new adminMainMenu();
        add(amm);
        amm.setFrame(this);
    }
    
    public void asstPrincipal() {
        
        GradesUI g = new GradesUI(3);
        g.setFrame(this);
    }
}
